When building in separate object directory entry.o fails building
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 9 Aug 2005 10:47:41 +0000 (10:47 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 9 Aug 2005 10:47:41 +0000 (10:47 +0000)
because entry.S includes syscall_table.S but it's in the wrong
directory.  This simply adds the obj-dir to the include search path.

Signed-off-by: Chris Wright <chrisw@osdl.org>
linux-2.6-xen-sparse/arch/xen/i386/kernel/Makefile

index afaeeda479b5c43b957560849ea413537540a223..da948cabc9ba0a116e272fa94fe6b8f29d24e62e 100644 (file)
@@ -92,6 +92,7 @@ $(patsubst %.o,$(obj)/%.c,$(c-obj-y) $(c-obj-m) $(c-link)) $(patsubst %.o,$(obj)
 
 $(obj)/vsyscall-int80.S: $(obj)/vsyscall-sigreturn.S
 
+EXTRA_AFLAGS   += -I$(obj)
 $(obj)/entry.o: $(src)/entry.S $(src)/syscall_table.S
 
 obj-y  += $(c-obj-y) $(s-obj-y)